#!/bin/bash

machine=$1
fremote=$2
flocal=$3

if [ $machine == 'mi8' ]
then
    scp -P 8022 u0_a319@192.168.1.33:"${fremote}" ${flocal}
fi

if [ $machine == 'hostvm' ]
then
    scp zhangfeiyue@192.168.95.197:"${fremote}" ${flocal}
fi

